.PHONY:mq_connectiontest
mq_connectiontest:mq_connectiontest.cpp  ../mqcommon/mq_msg.pb.cc  ../mqcommon/mq_proto.pb.cc
	g++ -o $@ $^ -std=c++14 -lgtest -lprotobuf -lsqlite3  -I../third/include 
mq_channeltest:mq_channeltest.cpp  ../mqcommon/mq_msg.pb.cc  ../mqcommon/mq_proto.pb.cc
	g++ -o $@ $^ -std=c++14 -lgtest -lprotobuf -lsqlite3  -I../third/include 
mq_consumertest:mq_consumertest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_routetest:mq_routetest.cpp 
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_hosttest:mq_hosttest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_messagetest:mq_messagetest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_bindingtest:mq_bindingtest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_queuetest:mq_queuetest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3 
mq_exchangetest:mq_exchangetest.cpp
	g++ -o $@ $^ -std=c++11 -lgtest -lprotobuf -lsqlite3 
filetest:filetest.cpp
	g++ -o $@ $^ -std=c++11
clean:
	rm mq_connectiontest